package com.hrt.bean;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ViewResourceScopes {

	public final static Integer WEB_RESOURCE=1;
	
	public final static Integer MANAGE_RESOURCE=0;
	
	private static List<Map<String,Object>> scopeList;

	
	
	public static List<Map<String, Object>> getScopeList() {
		if(scopeList==null){
			scopeList=new ArrayList<Map<String, Object>>();
			Map<String,Object> webResource=new HashMap<String,Object>();
			Map<String,Object> manageResource=new HashMap<String,Object>();
			webResource.put("key", WEB_RESOURCE);
			webResource.put("val", "网站资源");
			manageResource.put("key", MANAGE_RESOURCE);
			manageResource.put("val", "后台资源");
			scopeList.add(webResource);
			scopeList.add(manageResource);
		}
		return scopeList;
	}

	
	
	
	
}
